<template>
	<view class="footer">
		<uv-line color="#aaaaaa" length="90%" margin="20rpx auto" :hairline="false"></uv-line>
		<view class="footer-content">
			<text class="footer-text">
				© {{ currentYear }} {{ companyName[locaLang] }} {{banquan[locaLang]}}
			</text>
			<view class="zhuban-box">
				<view class="">{{zhuban[locaLang]}}：</view>
				<image class="image" src="/static/allance-logo.png"  mode="aspectFit"></image>
				<view class="">{{organizer[locaLang]}}</view>
			</view>
			<text class="footer-text">
				<uni-link href="https://beian.miit.gov.cn/" :text="`${ICP[locaLang]}：${ icpNumber }`" color="#0066cc"
					font-size="12">
				</uni-link>
			</text>
			<view class="footer-text gongan-beian">
				<view class="img-box">
					<image class="gongan-img" src="/static/images/gongan.png" mode=""></image>
				</view>
				<!-- http://www.beian.gov.cn/portal/registerSystemInfo?recordcode=11010102000001 -->
				<uni-link href="http://www.beian.gov.cn/portal/registerSystemInfo"
					:text="`京公网安备&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;号`" color="#0066cc"
					font-size="12">
				</uni-link>
			</view>
			<!-- <text class="footer-text gongan-beian">
				<view class="">
					<text>123</text>
				</view>
				<uni-link href="http://www.beian.gov.cn/portal/registerSystemInfo" :text="`京公网安备&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;号`" color="#0066cc"
					font-size="12">
				</uni-link>
			</text> -->
		</view>
	</view>
</template>

<script>
	export default {
		name: "ap126-bottom-module",
		data() {
			return {
				currentYear: new Date().getFullYear(),
				companyName: {
					"zh-Hans": "京亚联科技（北京）有限公司",
					"en": "Jingya Lian Technology (Beijing) Co., Ltd.",
					"ru": "Jingya Lian Technology (Beijing) Co., Ltd.",
					"kk": "Цзинья Лян Технологиясы (Пекин) ЖШС"
				}, // 替换为你的公司名称
				banquan:{
					"zh-Hans": "版权所有",
					"en": "Copyright",
					"ru": "Все права защищены",
					"kk": "Авторлық құқықтар сақталған"
				},
				zhuban: {
					"zh-Hans": "主办",
					"en": "Organizer",
					"ru": "Организатор",
					"kk": "Ұйымдастырушы"
				},
				organizer: {
					"zh-Hans": "国际汽车零部件产业发展联盟",
					"en": "International Automotive Parts Industry Development Alliance",
					"ru": "Международный альянс развития автомобильных комплектующих",
					"kk": "Халықаралық автомобиль бөлшектері индустриясын дамыту альянсы"
				},
				chengban: '国际汽车零部件产业发展联盟秘书处',
				ICP: {
					"zh-Hans": "ICP备案号",
					"en": "ICP Filing Number",
					"ru": "Регистрационный номер ICP",
					"kk": "ICP тіркеу нөмірі"
				},
				icpNumber: "京ICP备2024096707号-1", // 替换为你的ICP备案号
				gonganNumber: `京公网安备          号` // 替换为你的公安备案号
			};
		},
		computed: {
			locaLang() {
				return uni.getLocale()
			}
		}
	}
</script>

<style>
	.footer {
		background-color: #eee;
		padding: 0px 15px 10px;
		font-size: 12px;
		color: #666;
		text-align: center;
		/* border-top: 1px solid #ddd; */
	}

	.footer-content {
		display: flex;
		flex-direction: column;
		align-items: center;
	}

	.footer-text {
		margin: 5px 0;
		line-height: 1.2;
	}
	.zhuban-box{
		display: flex;
		align-items: center;
		.image{
			width: 15px;
			height: 15px;
			margin-right: 5px;
		}
	}

	.gongan-beian {
		display: flex;
		flex-direction: row;
		align-items: center;
	}

	.img-box {
		width: 36rpx;
		height: 36rpx;
		margin-right: 10rpx;
	}

	.gongan-img {
		width: 100%;
		height: 100%;
	}
</style>